/**
 * 创建时间： 2016年4月26日 下午3:43:52
 * @author 
 * @version 1.0
 * 文件名称: ApiCommonResult.java
 * 类说明：
 *
 */
package com.itbegin.api;

import java.io.Serializable;

public class ApiCommonResult implements Serializable {
	private static final long serialVersionUID = 3211632810484778741L;
	
	private Boolean success;
	private Integer count;
	private String desc;
	private Object data;
	
	public ApiCommonResult(Boolean success,Integer count,String desc){
		this.success = success;
		this.count = count;
		this.desc = desc;
	}
	
	public ApiCommonResult(Boolean success,Integer count,String desc,Object data){
		this.success = success;
		this.count = count;
		this.desc = desc;
		this.data = data;
	}
	
	public Boolean getSuccess() {
		return success;
	}
	public void setSuccess(Boolean success) {
		this.success = success;
	}
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Object getData(){
		return data;
	}
	
	public void setData(Object data){
		this.data = data;
	}
}

